import Vue from 'vue'
import Pagination from '@/components/Pagination'
import MySelect from '@/components/MySelect'

const globalComponents = {
  // 分页
  Pagination,
  // 下拉框
  MySelect
}

Object.keys(globalComponents).forEach(key => {
  Vue.component(key, globalComponents[key])
})
